{"version":3,"file":"sign-up.bundle.map.js","names":["this","BX","exports","main_core_events","ui_forms","ui_fonts_comforterBrush","main_core","ui_buttons","main_popup","ui_dialogs_messagebox","_","t","_t","_t2","Tab","EventEmitter","constructor","options","super","cache","Cache","MemoryCache","setOptions","setEventNamespace","subscribeFromOptions","events","set","getOptions","get","getIconNode","remember","Tag","render","icon","getHeaderLayout","Text","encode","id","onHeaderClick","bind","header","event","preventDefault","emit","getContent","content","activate","Dom","addClass","style","activeIcon","deactivate","removeClass","isActive","hasClass","_$1","_t$1","_t2$1","_t3","Tabs","onTabHeaderClick","defaultState","Type","isStringFilled","currentTab","getTabs","find","tab","setCurrentTab","firstTab","getCurrentTab","tabs","map","targetTab","getTarget","forEach","replace","getBodyLayout","firstElementChild","getLayout","_$2","_t$2","Footer","getSaveButton","Button","text","Loc","getMessage","color","UI","Color","PRIMARY","round","noCaps","className","mode","onclick","promise","emitAsync","setWaiting","then","getCancelButton","ButtonColor","LIGHT_BORDER","layout","append","_$3","_t$3","_loadImage","babelHelpers","classPrivateFieldLooseKey","CanvasWrapper","getDevicePixelRatio","window","devicePixelRatio","canvas","timeoutId","setTimeout","isDomNode","parentElement","has","parentRect","width","clientWidth","height","clientHeight","ratio","context2d","getContext","context2dOptions","isPlainObject","Object","assign","scale","clearTimeout","clear","context","clearRect","renderText","preparedText","String","trim","font","maxTextWidth","fontSize","toNumber","measureText","textWidth","fillText","renderImage","file","classPrivateFieldLooseBase","image","wRatio","hRatio","Math","min","offsetX","offsetY","drawImage","_loadImage2","fileReader","FileReader","Promise","resolve","readAsDataURL","Event","bindOnce","Image","src","result","defineProperty","value","Content","Error","getCanvas","_$4","_t$4","_t2$2","_t3$1","InitialsContent","onInput","forceLoadFonts","allFonts","document","fonts","comforterBrushFonts","filter","family","includes","all","load","getNameInput","getInitialsInput","getTextValue","name","initials","fillStyle","getPoint","isNil","TouchEvent","rect","target","getBoundingClientRect","touches","changedTouches","touch","length","x","clientX","left","y","clientY","top","_$5","_t$5","_t2$3","preventScrolling","passive","TouchContent","canvasLayout","onCanvasMouseDown","onCanvasMouseUp","onCanvasMouseMove","setIsDrawing","getIsDrawing","setStartEvent","getStartEvent","beginPath","point","moveTo","closePath","currentTarget","startEvent","startPoint","currentPoint","lineTo","stroke","onCanvasMouseOut","lineWidth","LineWidth","strokeStyle","lineJoin","lineCap","getClearButton","onClearClick","onTouchMove","stopPropagation","_$6","_t$6","_t2$4","_t3$2","_t4","_t5","PhotoContent","getTakePhotoButton","getUploadPhoto","onUploadPhotoClick","getFileInput","onFileChange","click","files","isFile","type","startsWith","MessageBox","alert","getButtonsLayout","getPreviewLayout","getMoreButton","onMoreButtonClick","getMoreMenu","show","PopupMenu","create","bindElement","items","InitialsTabIcon","InitialsActiveTabIcon","TouchTabIcon","TouchActiveTabIcon","PhotoTabIcon","PhotoActiveTabIcon","_$7","_t$7","SignUp","onChangeDebounced","Runtime","debounce","hasValue","getFooter","setDisabled","onSaveClickAsync","onSaveClick","onCancelClick","renderTo","TypeError","getInitialsContent","onChange","getTouchContent","getPhotoContent","pixelBuffer","Uint32Array","getImageData","data","buffer","pixelsCount","some","MIN_PIXELS_REQUIRED","async","toBlob","Main","Dialogs"],"sources":["sign-up.bundle.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,GACrB,SAAUC,EAAQC,EAAiBC,EAASC,EAAwBC,EAAUC,EAAWC,EAAWC,GACpG,aAEA,IAAIC,EAAIC,GAAKA,EACTC,EACAC,EACJ,MAAMC,UAAYX,EAAiBY,aACjCC,YAAYC,GACVC,QACAlB,KAAKmB,MAAQ,IAAIb,EAAUc,MAAMC,YACjCrB,KAAKsB,WAAWL,GAChBjB,KAAKuB,kBAAkB,yBACvBvB,KAAKwB,qBAAqBP,EAAQQ,OACpC,CAEAH,WAAWL,GACTjB,KAAKmB,MAAMO,IAAI,UAAW,IAAKT,GAEjC,CAEAU,aACE,OAAO3B,KAAKmB,MAAMS,IAAI,UAAW,CAAC,EACpC,CAEAC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